//
//  MoreTripDetailViewController.h
//  lvtu
//
//  Created by martin on 12-9-7.
//
//

#import "BaseViewController.h"
#import "TripInfo.h"
#import "NetDataSource.h"
#import "CommentDetailViewController.h"

@protocol MoreTripDetailViewControllerProtocol <NSObject>

//下一天按钮点击处理代理方法
- (void)touchNextDayButton;
- (void)touchPreDayButton;

@end

@interface MoreTripDetailViewController : BaseViewController<DataSourceDelegate,CommentDetailViewControllerProtocol>
{
    TripInfo* tripinfo;
    RecommendTripInfo* sumTripInfo;
    NSString* tripId;
    UILabel* editorLabel;
    UILabel* currentDateLabel;
    UILabel* totleDateLabel;
    UILabel* cityLabel;
    
    UIButton* preButton;
    UIButton* nextButton;
    
    UIImageView* eventShowBgView;
    UIScrollView* eventShowView;
    
    UIButton* praiseButton;
    UIButton* favorbutton;
    UIButton* commentbutton;
    
    UILabel* praiseLabel;
    UILabel* collectLabel;
    UILabel* commentLabel;
    
    NSInteger dateIndex;
    
    id<MoreTripDetailViewControllerProtocol>delegate;
}

@property (nonatomic,assign)id<MoreTripDetailViewControllerProtocol>delegate;
@property (nonatomic,retain)RecommendTripInfo* sumTripInfo;
- (id)initWithTravelInfo:(TripInfo*)info recommondInfo:(RecommendTripInfo*)sumInfo Index:(NSInteger)index;

@end
